package com.example.excel.data;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @ClassName:
 * @Author: niss
 * @Description:
 * @Date: Create in 15:44 2019-10-18
 */

//用户组
@Data
public class VehicleVo extends BaseParkVo {
    private String beginTimeStr;

    private Date beginTime;

    private String endTimeStr;

    private Date endTime;

    private Long ownerId;

    private Integer parkId;

    private Long groupId;

    private String parkCoding;

    /**
     * 车主名
     */
    @Excel(width = 15, needMerge = true, orderNum = "1", name = "*用户名称")
    private String ownerName;

    /**
     * 车主电话
     */
    @Excel(width = 15, needMerge = true, orderNum = "2", name = "*手机号码")
    private String ownerPhone;

    @Excel(width = 25, needMerge = true, orderNum = "3", name = "所属停车场")
    private String parkName;

    @ExcelCollection(orderNum = "4", name = "车辆")
    private List<TbVehicleListDto> tbVehicleListDtos;

    /**
     * 车主地址
     */
    @Excel(width = 15, needMerge = true, orderNum = "9", name = "地址")
    private String ownerAddress;

    /**
     * 车主单位名称
     */
    @Excel(width = 15, needMerge = true, orderNum = "10", name = "单位名称")
    private String ownerCompany;

    /**
     * 导入时错误的字段
     */
    @Excel(width = 15, needMerge = true, orderNum = "11", name = "错误数据")
    private String errField;

    private String carNum;

    private String deletedTbVehicleListIds;
    /**
     * 固定用户 id 集合
     */
    private String ownerIds;

    private List<Long> deletedTbVehicleOwnerIds;

    private TbVehicleOwnerDto tbVehicleOwnerDto;

    private TbVehicleGroup tbVehicleGroup;

    private TbVehicleGroupRuleVo tbVehicleGroupRuleVo;

    private String invalidTimeStr;

    private Date invalidTime;

    /**
     * 延长的天数
     */
    private Integer invalidDays;
    /**
     * 批量设置类型，1：延长时长；2：设定日期；3：修改信息
     */
    private Integer batchUpdateType;

    private Date batchUpdateTime;

    /**
     * 车辆批量导入的 VO 对象
     */
    private List<VehicleBatchVO> vehicleBatch;

}
